import org.rsbot.script.methods.Menu;
import org.rsbot.script.methods.Mouse;

class AionAirCrafter$3 extends AionAirCrafter.ObjectAction
{
  public String getDesc()
  {
    return "Leaving mysterious ruins";
  }

  public boolean isValid() {
    return (!AionAirCrafter.access$200(this.this$0)) && (AionAirCrafter.access$4200(this.this$0));
  }

  public void process() {
    if (AionAirCrafter.access$5000(this.this$0).isOpen()) {
      if (AionAirCrafter.access$5100(this.this$0).contains("Enter")) {
        AionAirCrafter.access$5200(this.this$0).doAction("Enter");
        AionAirCrafter.access$1400(this.this$0, this.this$0.random(600, 900));
      } else {
        AionAirCrafter.access$5300(this.this$0).moveSlightly();
      }
    }
    else super.process();

    AionAirCrafter.access$1500(this.this$0);
  }
}